package cn.fbs.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;
import java.util.List;

@Data
@ToString
public class SearchParam {
    @ApiModelProperty("输入框输入内容")
    private String input;
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date startDate;
    @ApiModelProperty("截至时间")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date endDate;
    @ApiModelProperty("标签主键数组")
    private List<Integer> categoryIds;

    private String idsStr;
}
